<template>
  <h1>EL_下拉选框组件</h1>
  <el-select placeholder="请选择你的城市" v-model="city">
    <el-option label="北京" value="bj"></el-option>
    <el-option label="上海" value="sh"></el-option>
    <el-option label="武汉" value="wh"></el-option>
    <el-option label="三亚" value="sy"></el-option>
  </el-select>
  <h4>您选的城市是：{{city}}</h4>
</template>


<script setup>
import {ref} from "vue";

const city = ref('wh');
</script>


<style scoped>

</style>